package top.buyibuyi.course.service;

import org.apache.ibatis.annotations.Param;
import top.buyibuyi.course.pojo.Course;

import java.util.List;

public interface SelectCourseService {

    List<Course> selectCourse(@Param("startPage") int startPage, @Param("limit") int limit, @Param("cname") String cname);

    int selectCount(Course cname);

    Course selectCourseById(int id);
}
